# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=wayclip
pkgver=0.4.1
pkgrel=1
pkgdesc="Wayland clipboard utility"
url="https://sr.ht/~noocsharp/wayclip"
arch="all"
license="ISC"
makedepends="wayland-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver-2.tar.gz::https://git.sr.ht/~noocsharp/wayclip/archive/$pkgver.tar.gz"
options="!check"  # no tests provided

build() {
	make
}

package() {
	make install DESTDIR="$pkgdir" PREFIX=/usr
}

sha512sums="
470af34d2479b55be5c08603c036603e1f6ab5097f4e047838bc823a1f7cf146f8b8de767ad868eb63b107d7b81904cacf731489c7aa68ae1e4d7a9cbaf8e873  wayclip-0.4.1-2.tar.gz
"
